_mash = _this select 0;
_unit = _this select 1;
_carryRuck = [_unit] call ACE_fnc_HasRuck;
if(_carryRuck) then
{
	null = [_unit, "MAG", "ACE_Morphine", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "MAG", "ACE_Bandage", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "MAG", "ACE_Medkit", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "MAG", "ACE_LargeBandage", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "MAG", "ACE_Epinephrine", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "MAG", "ACE_Tourniquet", 20] call ACE_fnc_RemoveGear;
	null = [_unit, "ACE_Morphine", 20] call ACE_fnc_PackMagazine;
	null = [_unit, "ACE_Medkit", 20] call ACE_fnc_PackMagazine;
	null = [_unit, "ACE_LargeBandage", 20] call ACE_fnc_PackMagazine;
	null = [_unit, "ACE_Epinephrine", 20] call ACE_fnc_PackMagazine;
	hint "You are qualified to perform advanced first aid.";
	_unit setVariable ["ace_w_ismedic",true];
} else {hint "You need a ruck"};